package com.hu.zhcc.shiro.service.xsx;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.xsx.TInterposeFollowupVisitMapper;
import com.hu.zhcc.shiro.entity.xsx.XsxTInterposeFollowupVisit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 随访日记表 服务实现类
 * </p>
 *
 * @author xsx
 * @since 2021-06-23
 */
@Service
public class TInterposeFollowupVisitServiceImpl extends ServiceImpl<TInterposeFollowupVisitMapper, XsxTInterposeFollowupVisit> implements TInterposeFollowupVisitService {
    @Autowired
    TInterposeFollowupVisitMapper tInterposeFollowupVisitMapper;

    @Override
    public List<XsxTInterposeFollowupVisit> queryAll(int id) {
        return tInterposeFollowupVisitMapper.queryAll(id);
    }

    @Override
    public XsxTInterposeFollowupVisit queryVisitByFileNum(String str) {
        return tInterposeFollowupVisitMapper.queryVisitByFileNum(str);
    }

    @Override
    public int updateVisit(XsxTInterposeFollowupVisit tInterposeFollowupVisit) {
        return tInterposeFollowupVisitMapper.updateVisit(tInterposeFollowupVisit);
    }

    @Override
    public int jsgy(int id) {
        return tInterposeFollowupVisitMapper.jsgy(id);
    }
}
